package com.doit.day02;

import com.doit.day01.JedisUtil;
import org.apache.commons.lang3.RandomStringUtils;
import redis.clients.jedis.Jedis;

public class HllDemo {
    public static void main(String[] args) throws InterruptedException {
        Jedis jedis = JedisUtil.getJedis();
        while (true){
            String s = RandomStringUtils.randomAlphabetic(10);
            jedis.pfadd("word",s);
            Thread.sleep(100);
        }
    }
}
